from django.urls import path
from . import views

app_name = 'PrivateChat'
# get_create_private_room 这里是在群聊用户中建立私聊或找私聊房间并进入
# private_room 这里是在最近私聊中进入私聊房间room_key
# private_recent_rooms 展示最近聊天列表peer_id
urlpatterns = [
    path('', views.private_recent_rooms, name='recent_contact'),
    path('private/<str:room_key>', views.private_room, name='private_room'),
    path('getPrivate/<int:peer_id>/<int:room_id>', views.get_create_private_room, name='get_private_room'),
]